package com.duobaoyu.dby.supply.biz.producer.constant;

/**
 * 供应链MQ常量类
 *
 * @author fengshaoyu
 * @version 1.0.0
 * @date 2023/9/28 10:14
 */
public class SupplyChainMQConstants {

	public static class SupplyChainTopic {
		public static final String ORDER_TOPIC = "NEW-SUPPLY-CHAIN-ORDER-TOPIC";
		public static final String CHANNEL_MESSAGE_TOPIC = "NEW-SUPPLY-CHANNEL-MESSAGE-TOPIC";
		public static final String SUPPLY_CHAIN_ADMIN_TOPIC = "NEW-SUPPLY-CHAIN-ADMIN-TOPIC";
		public static final String AFTER_SALE_TOPIC = "NEW-SUPPLY-CHAIN-AFTER-SALE-TOPIC";

		public static class OrderTag {
			/**
			 * 同步订单信息
			 */
			public static final String SYNC_ORDER_INFO = "SYNC-ORDER-INFO";
			/**
			 * 供应链确认订单
			 */
			public static final String ORDER_CONFIRM = "ORDER-CONFIRM";
			/**
			 * 同步额外信息
			 */
			public static final String ORDER_EXTEND_SYNC = "ORDER-EXTEND-SYNC";
			/**
			 * 计算预估运费
			 */
			public static final String ESTIMATE_FREIGHT_AMOUNT = "ESTIMATE-FREIGHT-AMOUNT";
		}

		public static class ChannelMessageTag {
			public static final String ORDER_MESSAGE_TAG = "ORDER-MESSAGE-TAG";
		}

		public static class SupplyChainAdminTag {
			/**
			 * 系统日志log
			 */
			public static final String SYSTEM_LOG_TAG = "SUPPLY-SYSTEM-LOG-TAG";

			/**
			 * 后台补单
			 */
			public static final String ORDER_REPAIR_TAG = "ORDER-REPAIR-TAG";

			/**
			 * 渠道商品日志重试消息
			 */
			public static final String CHANNEL_MESSAGE_RETRY_TAG = "CHANNEL-MESSAGE-RETRY-TAG";
		}

		public static class AfterSaleTag {

			/**
			 * 取消订单申请售后
			 */
			public static final String CANCEL_ORDER_APPLY_AFTER_SALE = "CANCEL-ORDER-APPLY-AFTER-SALE";
			public static final String AFTER_SALES_STATUS_CHANGE = "AFTER_SALES_STATUS_CHANGE";
			public static final String AFTER_SALES_STATE_CHECK = "AFTER_SALES_STATE_CHECK";
		}
	}
}
